package com.bookstore.service;

import com.bookstore.entity.User;

import java.util.List;

public interface UserService {

    User login(User user);

    int register(User user);

    /**
     * 查询所有用户
     * @return 所有用户信息
     */
    List<User> queryAllUsers();
}
